package com.zlx.mall.basic.datasource.model;

import com.zlx.mall.basic.common.model.BaseObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author qingke
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PrimaryKeyBatchBaseRequest extends BaseObject
    implements java.io.Serializable {
    @NotNull(message = "ID list can not null")
    @Size(min = 1, message = "At least one")
    private List<Long> ids;
}
